home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / mult200.zip / DOORBATS.ZIP / TWEDIT.BAT < prev    next >
DOS Batch File  |  1991-12-10  |  508b  |  29 lines

  1. @echo off
  2. echo --------------------------
  3. echo - trade wars 2002 editor -
  4. echo --------------------------
  5. D:
  6. cd\door\tw
  7. if exist inuse.txt goto oops!
  8. rem > inuse.txt
  9. copy c:\ra\%node%\dorinfo1.def
  10. if %port% == 0 goto localon
  11. call tedit.bat -qBBS
  12. goto localoff
  13. :localon
  14. call tedit.bat -qbbs
  15. :localoff
  16. del inuse.txt
  17. goto end
  18. :oops!
  19. if %port% == 0 goto oops!l
  20. type c:\ra\used.txt > com%port%:
  21. goto oops!end
  22. :oops!l
  23. type c:\ra\used.txt
  24. :oops!end
  25. dvcomand wait 20
  26. :end
  27. C:
  28. cd\ra\%node%
  29.